package com.ysd.entity;

public class Address {
	private Integer id;
	private Integer userId;
	private String name;
	private String phone;
	private String province;
	private String city;
	private String town;
	private String address;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getTown() {
		return town;
	}
	public void setTown(String town) {
		this.town = town;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public Address(Integer id, Integer userId, String name, String phone, String province, String city, String town,
			String address) {
		super();
		this.id = id;
		this.userId = userId;
		this.name = name;
		this.phone = phone;
		this.province = province;
		this.city = city;
		this.town = town;
		this.address = address;
	}
	public Address() {
		super();
	}
	@Override
	public String toString() {
		return "Address [id=" + id + ", userId=" + userId + ", name=" + name + ", phone=" + phone + ", province="
				+ province + ", city=" + city + ", town=" + town + ", address=" + address + "]";
	}
	
	
}

